package com.fjec.market.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 017.关注店铺表
 * </p>
 *
 * @author admin
 * @since 2020-09-16
 */
@TableName("biz_follow")
@Data
public class BizFollow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户Id
     */
    @TableId("UserId")
    private Long userId;

    /**
     * 商户类型 1=个人
        2=果农
        3=分拣厂
        4=农资厂
        5=包装物厂
        6=采购商
     */
    @TableField("BusiType")
    private Integer busiType;

    /**
     * 店铺Id
     */
    @TableField("BusiId")
    private Long busiId;

    /**
     * 关注时间
     */
    @TableField("CreateTime")
    private LocalDateTime createTime;

    /**
     * 备注
     */
    @TableField("Remark")
    private String remark;


    @Override
    public String toString() {
        return "BizFollow{" +
            "userId=" + userId +
            ", busiType=" + busiType +
            ", busiId=" + busiId +
            ", createTime=" + createTime +
            ", remark=" + remark +
        "}";
    }
}
